//导入模块
let axios = require('../utils/axios');
module.exports = {
  //获取分类数据
  getNavList() {
    let url = 'http://vueshop.glbuys.com/api/home/category/menu';
   return axios.get(url,{token:'1ec949a15fb709370f'});
  },
  getGoodsList(cid) {
    let url = 'http://vueshop.glbuys.com/api/home/category/show';
    return axios.get(url,{cid:cid,token:'1ec949a15fb709370f'});
  }
}